package com.pet.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pet.dto.*;
import com.pet.entity.HealthRecordDO;
import com.pet.entity.PetDO;

import java.util.List;

/**
 * @date: 2025-05-18 16:20
 */
public interface HealthRecordService extends IService<HealthRecordDO> {

    /**
     * 添加宠物
     * @param dto
     * @return
     */
    Result add(HealthRecordAddDTO dto);

    /**
     * 查询宠物列表
     * @param dto
     * @return
     */
    List<HealthRecordResDTO> queryList(HealthRecordQueryDTO dto);

    /**
     * 更换宠物信息
     * @param dto
     * @return
     */
    Result updateRecord(HealthRecordUpdateDTO dto);

    /**
     * 删除宠物
     * @param dto
     * @return
     */
    Result deleteRecord(HealthRecordUpdateDTO dto);
}
